LTE Cat.1 3 NAX Click Example.
Description
Application example shows device capability of connecting to the network and sending SMS, TCP/UDP messages, calling the selected number, or getting GNSS location using standard "AT" commands.
The demo application is composed of two sections :
Application Init
Sets the device configuration for sending SMS, TCP/UDP messages, calling the selected number or GNSS location.
Application Task
Depending on the selected demo example, it sends an SMS message (in PDU or TXT mode) or a TCP/UDP message, calls the selected number or gets GNSS location.
Additional Function
- static void ltecat13nax_clear_app_buf ( void )
- static void ltecat13nax_log_app_buf ( void )
- static err_t ltecat13nax_process ( ltecat13nax_t *ctx )
- static void ltecat13nax_error_check( err_t error_flag )
- static void ltecat13nax_log_app_buf ( void )
- static err_t ltecat13nax_rsp_check ( uint8_t *rsp )
- static err_t ltecat13nax_cfg_for_network ( void )
- static err_t ltecat13nax_check_connection ( void )
- static err_t ltecat13nax_cfg_for_example ( void )
- static err_t ltecat13nax_example( void )
- static void gnss_parser_application ( char *rsp )
- Note
- In order for the examples to work, user needs to set the APN and SMSC (SMS PDU mode only) of entered SIM card as well as the phone number (SMS mode only) to which he wants to send an SMS. Enter valid values for the following macros: SIM_APN, SIM_SMSC and PHONE_NUMBER_TO_MESSAGE. Example: SIM_APN "internet" SIM_SMSC "+381610401" PHONE_NUMBER_TO_MESSAGE "+381659999999"
- Author
- Stefan Ilic